<?php
class WorkModel extends Model{
	public function __construct()
	{
		parent::__construct();
		$this->tableName = "works";
		$this->formMapping = array(
			'work_id' => 'work_id',
			'works_set_id' => 'works_set_id',
			'author_id' => 'author_id',
			'work_name' => 'work_name',
			'work_score' => 'work_score',
			'work_score_number' => 'work_score_number',
			'work_description' => 'work_description',
			'work_image_url' => 'work_image_url',
			'pageview' => 'pageview',
			'reply_number' => 'reply_number',
			'privacy' => 'privacy'
			);
	}
};
?>

